import React from 'react';
import ProTable from '@ant-design/pro-table';
import { ConfigProvider } from 'antd';

import en_US from 'antd/es/locale-provider/en_US';

function DefaultTemplate(tableProps: any) {
  return (
    <ConfigProvider locale={tableProps.local}>
      <ProTable
        // columns={columns}
        {...tableProps}
        dataSource={[{}]}
        bordered
      />
    </ConfigProvider>
  );
}

export default DefaultTemplate;
